x11: Stop abusing type hints for dnd
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Feb 2020 17:37:51 +0000 (12:37 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 11 Mar 2020 23:35:55 +0000 (19:35 -0400)
Nothing in GDK depends on this being set, so just
don't do it.

gdk/x11/gdkdrag-x11.c

index c4fed39c8465a14c927b4e1c3c2eaff239e99ab3..cbf5b75d06ca02d0972af2b78677defc7fa1248e 100644 (file)
@@ -1270,8 +1270,6 @@ create_drag_surface (GdkDisplay *display)
 
   surface = gdk_surface_new_temp (display, &(GdkRectangle) { 0, 0, 100, 100 });
 
-  gdk_surface_set_type_hint (surface, GDK_SURFACE_TYPE_HINT_DND);
-  
   return surface;
 }